﻿<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
<style>

a:link {color: yellow}
a:visited  {color: yellow}
body{background-color:#000; color:} 

</style>
<title>RPG by HTML5 + 晓明出品</title>
<link type="text/css" href="/RPG/css/gui.css" rel="stylesheet" />



<script type="text/javascript" src="/RPG/js/jquery-1.5.1.min.js"></script>
<script type="text/javascript" src="/RPG/js/baselib/type_ex_map.js"></script>

<script type="text/javascript" src="/RPG/js/0_config.js"></script>


<script type="text/javascript" src="/RPG/js/gm/0_map.js"></script>
<script type="text/javascript" src="/RPG/js/gm/0_rander.js"></script>
<script type="text/javascript" src="/RPG/js/gm/0_audio.js"></script>
<script type="text/javascript" src="/RPG/js/gm/0_loading.js"></script>
<script type="text/javascript" src="/RPG/js/gm/0_screen.js"></script>
<script type="text/javascript" src="/RPG/js/gm/actions.js"></script>
<script type="text/javascript" src="/RPG/js/gm/astar.js"></script>
<script type="text/javascript" src="/RPG/js/gm/controlor.js"></script>
<script type="text/javascript" src="/RPG/js/gm/fightscript.js"></script>
<script type="text/javascript" src="/RPG/js/gm/inputevents.js"></script>
<script type="text/javascript" src="/RPG/js/gm/plugin_mgr.js"></script>
<script type="text/javascript" src="/RPG/js/gm/scripteng.js"></script>
<script type="text/javascript" src="/RPG/js/gm/sprite.js"></script>
<script type="text/javascript" src="/RPG/js/gm/ui.js"></script>


<script type="text/javascript" src="/RPG/js/p/player1.js"></script>
<script type="text/javascript" src="/RPG/js/p/story.js"></script>




<script>
//here is just a test
$(function(){
	setupUI();
	
	if ( !document.createElement('canvas').getContext){
		alert("不支持特性");
	}
		
	$("#MaskTran").click(function(){
		Option_MaskTran = $("#MaskTran").attr("checked");
	});
	
	$("#prer").click(function(){
		Option_PreRender = $("#prer").attr("checked");
		InitGraphic("gscreen");
	});
	
	story();
	
	//初始化
	InitGraphic("gscreen");
	setupMouseEvent_map("gscreen");
	
	
	
})
</script>
</head>
<body>



<div 
style="width:610px; height:440px;left:55px;top:18px;
background-color: rgb(255,255,255);" id="jz4">
</div>

<div 
style="width:55px; height:408px;left:663px;top:50px;
background-color: rgb(255,255,255);
 background-image: url(/RPG/sucai/ui/mark.png); 
 background-position-y: right; background-position-y: bottom;
 background-repeat:no-repeat;">
</div>

<canvas id="gscreen" width=600 height=400 style="position: absolute;left:55px;top:40px; 
-moz-user-select:-moz-none;-webkit-user-select:none;-webkit-tap-highlight-color:rgba(255, 255, 255, 0);"
 onselectstart="return false;">
你的浏览器不支持HTML5
</canvas>

<img src="/RPG/sucai/ui/line.png" style="left:65px;top:30px;width:640px;height:7px;" id="jz5">
<img src="/RPG/sucai/ui/conner.png" style="left:665px;top:18px;width:54px;height:33px;">

<img src="/RPG/sucai/ui/fr1.png" style="left:0;top:0;" id="qz1">
<img src="/RPG/sucai/ui/fr3.png" style="left:1px;top:18px;height:440px;width:55px" id="qz2">
<img src="/RPG/sucai/ui/fr2.png" style="left:0;top:458px;" id="qz3">

<div style="left:750px;top:15px;width:300px">
<strong>关于这个演示</strong>》》<a href="wikipad/doku.php" target="_blank">查看WIKI</a><br>
<br>
Timer(ms)<input type=text readonly id=debuginfo>
<br><br><br>
选项<br>
<input type="checkbox" id="MaskTran"><label for="MaskTran">遮挡半透明效果</label><br>
<!-- <input type="checkbox" id="prer"><label for="prer">Pre-Render</label><a href ="text2.html" target="_blank">(What's this?)</a>
 -->
<br>
游戏中的图像来源于互联网。
</div>


<audio id="audio1" loop="loop">您的浏览器不支持 audio 标签</audio>
<div id="u01" class="ui-dialog_0"><div id="u02" class="ui-dialog_text_0"></div></div>
<img id="u03"  src="/RPG/sucai/129-1.png"/>

<div 
style="width:160px; height:120px;left:300px;top:180px;
background-image: url(/RPG/sucai/ui/dl1.png);display:none; " id="dlg1">
</div>
<img src="/RPG/sucai/ui/11.gif" style="left:320px;top:210px;display:none;" id="dlg1t1">
<img src="/RPG/sucai/ui/12.gif" style="left:350px;top:210px;display:none;" id="dlg1t2">
<img src="/RPG/sucai/ui/13.gif" style="left:380px;top:210px;display:none;" id="dlg1t3">
<img src="/RPG/sucai/ui/14.gif" style="left:410px;top:210px;display:none;" id="dlg1t4">

<img src="/RPG/sucai/ui/5.png" style="left:52px;top:370px;display:none;" id="fightbar">
<div style="width:48px;height:4px;left:360px;top:400px;display:none;background-image: url(/RPG/sucai/ui/69-2.png); " id="HPbar"></div>
<div style="width:28px;height:4px;left:360px;top:429px;display:none;background-image: url(/RPG/sucai/ui/71-2.png); " id="Qbar"></div>
<div style="left:380px;top:390px;display:none;" id="HPval" class="ui-Fight_text_0"></div>
<div style="left:380px;top:419px;display:none;" id="Qval" class="ui-Fight_text_0"></div>
<div style="display:none;" id="f_dlgtxt" class="ui-Fight_text_0 ui-Fight_text_1"></div>

</body>
</html>